package com.ruoyi.project.channel.productOrderInfo.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.web.domain.BaseEntity;
import java.util.Date;

/**
 * 产品订单表 product_order_info
 * 
 * @author CAIN
 * @date 2021-01-09
 */
public class ProductOrderInfo extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 订单id */
	private Long orderId;
	/** 对应充值单号 */
	private String channelOrderId;
	/** 用户id */
	private Long userId;
	/** 产品id */
	private Integer productId;
	/** 订单开始时间 */
	private Date orderSuccessTime;
	/** 订单到期时间 */
	private Date endTime;
	/** 状态 */
	private String useStatus;

	public void setOrderId(Long orderId) 
	{
		this.orderId = orderId;
	}

	public Long getOrderId() 
	{
		return orderId;
	}
	public void setChannelOrderId(String channelOrderId) 
	{
		this.channelOrderId = channelOrderId;
	}

	public String getChannelOrderId() 
	{
		return channelOrderId;
	}
	public void setUserId(Long userId) 
	{
		this.userId = userId;
	}

	public Long getUserId() 
	{
		return userId;
	}
	public void setProductId(Integer productId) 
	{
		this.productId = productId;
	}

	public Integer getProductId() 
	{
		return productId;
	}
	public void setOrderSuccessTime(Date orderSuccessTime) 
	{
		this.orderSuccessTime = orderSuccessTime;
	}

	public Date getOrderSuccessTime() 
	{
		return orderSuccessTime;
	}
	public void setEndTime(Date endTime) 
	{
		this.endTime = endTime;
	}

	public Date getEndTime() 
	{
		return endTime;
	}
	public void setUseStatus(String useStatus) 
	{
		this.useStatus = useStatus;
	}

	public String getUseStatus() 
	{
		return useStatus;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("orderId", getOrderId())
            .append("channelOrderId", getChannelOrderId())
            .append("userId", getUserId())
            .append("productId", getProductId())
            .append("orderSuccessTime", getOrderSuccessTime())
            .append("endTime", getEndTime())
            .append("useStatus", getUseStatus())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
